package itheima.C01_io_char_reader;

import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;

public class Test2 {
    public static void main(String[] args) throws IOException {
        try {
            FileWriter fw1 = new FileWriter("day11_io\\src\\itheima\\C01_io_char_reader\\aikun.txt");
            FileReader fr1 = new FileReader("C:\\Users\\Public\\Nwt\\cache\\recv\\单笑\\kun.txt");

            int b;
            while ((b = fr1.read()) != -1) {
                fw1.write((char)b+"⭐");
            }
        } catch (IOException e) {
            throw new RuntimeException(e);
        }

/*    fw.write("hello");
    fw.write("\r\n");
    fw.write("world,java");
    fw.write("\n");*/

    }
}
